home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
081
/
xlax_102.arc
/
PCP.DOC
< prev
next >
Wrap
Text File
|
1988-04-18
|
3KB
|
127 lines
PCP Page 1
PCP Version 1.0
PCP Pursuit Router
Copyright 1988
By Scott Samet
Friends of Dorothy 1:135/990
This program uses a data file, created by XlaxNode's PCPLIST switch,
to look up telephone numbers and return the PCP routing.
PCPEXCH.DAT must be located in the current directory or in a directory
on the DOS Path.
The program has two modes of operation. Command line operation is
suitable for manually checking a number. File operation is designed
to route an entire file of phone numbers.
COMMAND LINE OPERATION
Syntax:
PCP {nnn-nnn}...
Where nnn-nnn is an area code and exchange. As many nnn-nnn
codes may be entered as will fit on the command line.
Output:
The PCP Pursuit node needed to dial the specified number, plus
any special prefix needed. The maximum baud rate for that city
is also given.
Example:
C>PCP 415-994 718-591 305-222
PCP Version 0.1 Copyright 1988 by Scott Samet (1:135/990)
415-994 Routes via D/CASFA at 1200 baud
718-591 Routes via D/NYNYO 1718 at 1200 baud
305-222 Does not route
PCP Page 1
PCP Page 2
FILE DRIVEN OPERATION
Syntax:
PCP @
Where the "@" signifies that input is to be read from StdIn and
output written to StdOut.
Input:
The input file consists of telephone numbers, followed by a
space. Any text following the space will be considered a comment
and copied to the output file unchanged.
Output:
Each line in the input file will generate one output line. Each
line will consist of the PCP Node used to place the call, a
space, the number to be dialed, a space, and the comments from
the input line. If a number cannot be routed via PC Pursuit, the
Node field will contain asterisks, and the number field will
contain the original number.
Example:
PCP @ <test.in >test.out
Where test.in contains:
305-596-8611 Metro Fire
718-591-0000 Brooklyn Gateway
305-296-6666 Key West Fix-Six Taxi Company
Test.out will contain:
D/FLMIA/12 596-8611 Metro Fire
D/NYNYO/24 1718-591-0000 Brooklyn Gateway
********** 305-296-6666 Key West Five-Six Taxi Company
PCP Page 2